﻿using BW.WMS.CodeEnum;
using BW.WMS.XKY.DTO.Input;
using BW.WMS.XKY.DTO.Output;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace BW.WMS.XKY
{
    public interface IUserAppService:IApplicationService
    {
        Task<ApiResult<int>> CreateAsync(UserInput input); 
        Task<IQueryable<ApiPaging<UserOutput>>> GetListAsync();
        Task<ApiResult<UserOutput>> LoginAsync(string? UserNameOrEmail,string Pwd);
        Task<ApiResult<int>> UpdateAsync(Guid id, UserInput input);
        Task<ApiResult<int>> DeleteAsync(Guid id);
    }
}
